<?php
/**
 * 类名称
 * User: 13651
 * Time: 2025/10/16 16:02
 */

namespace App\Param\System;

use App\Param\Param;

class SystemDataSaveParam  extends Param
{
    /**
     * 门店ID
     * @var
     */
    public $store_id;

    /**
     * 订单开始时间
     * @var
     */
    public $start_time;

    /**
     * 订单结束时间
     * @var
     */
    public $end_time;

    /**
     * 验证规则
     * @return string[]
     */
    public function rules()
    {
        return [
            'store_id' => 'required|array',
            'start_time' => 'required|string',
            'end_time' => 'required|string',
        ];
    }

    public function getStoreId()
    {
        return $this->store_id;
    }

    public function getStartTime()
    {
        return $this->start_time;
    }

    public function getEndTime()
    {
        return $this->end_time;
    }
}